﻿using Microsoft.Practices.Prism.Events;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.ServiceLocation;
using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace InteractiveWhiteboardManagement.Views
{
    /// <summary>
    /// Shell.xaml 的交互逻辑
    /// </summary>
    public partial class Shell : Window
    {
        public Shell(IServiceLocator serviceLocator,
            IModuleManager moduleManager, IModuleCatalog moduleCatalog,
            IRegionManager regionManager, IEventAggregator eventAggregator,
            IUnityContainer container)
        {
            InitializeComponent();

            this.DataContext = new ViewModels.ViewModel_Shell(serviceLocator,
                moduleManager, moduleCatalog,
                regionManager, eventAggregator, container);
        }
    }
}
